package com.wx.gof.pattern.behavioral.visitor;

import lombok.Data;

/**
 * @ClassName FreeCourse
 * @Author wx
 * @Description 免费课程
 * @Date 2018-12-16-18:22
 */
public class FreeCourse extends Course{
    
    /**
     * @methodName: runVisitor
     * @author: wx
     * @description: 执行访问者
     * @param iVisitor
     * @date: 2018/12/16
     * @return: void
     */
    @Override
    void runVisitor(IVisitor iVisitor) {
        iVisitor.visit(this);
    }
}
